<?php

namespace app\admin\validate;

use think\Validate;

class Admin extends Validate
{
    protected $rule =   [
        'username'  => 'require',
        'pwd'   => 'require',
    ];

    protected $field = [
        'username'=>'用户名',
        'pwd'=>'密码',
    ];
}